﻿using System;
using System.Collections.Generic;
using System.Text;

namespace GameProtocol.DTO.Fight
{
    [Serializable]
    public class BuildFightModel:AbsFightModel
    {
        public bool born;//是否重生
        public int bornTime;//重生时间
        public bool canAtt;//是否攻击
        public BuildFightModel() { }

        public BuildFightModel( int id,int modelCode,bool born,int botime,bool catt,string name,int maxhp,int att_num,float att_range,float att_speed,int team) {
            this.id = id;
            this.modelCode = modelCode;
            this.name = name;
            this.maxhp = maxhp;
            this.att_num = att_num;
            this.att_speed = att_speed;
            this.att_range = att_range;
            this.team = team;

            this.born = born;
            this.bornTime = botime;
            this.canAtt = catt;

            hp = maxhp;
            mtype = ModelType.Build;
            attmode = AttMode.Distant;

        }

    }
}
